package com.hawthorn.admin.repository;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hawthorn.admin.repository.provider.SysBizConfSqlProvider;
import com.hawthorn.entity.po.SysBizConfPO;
import com.hawthorn.platform.repository.DBMapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>todo 业务参数配置表(sys_biz_conf) Mapper 接口</p>
 * @author: wcz
 * @created: 2022-07-01
 * @version v1.0.1
 */
@Repository
public interface SysBizConfMapper extends DBMapper<SysBizConfPO>
{

  @SelectProvider(SysBizConfSqlProvider.class)
  IPage<Map<String, Object>> findBizConf(Page<Map<String, Object>> page, String qc);


  @SelectProvider(SysBizConfSqlProvider.class)
  List<Map<String, Object>> export(String fields, String qc);

  @SelectProvider(SysBizConfSqlProvider.class)
  Integer checkBizConf(String paraKey);
}
